package com.qd.panda.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * 费用设置码表
 *
 * @author sjk
 */
@Getter
@Setter
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("panda_bill_rule_set")
public class BillRuleSet extends Model<BillRuleSet> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "bill_rule", type = IdType.NONE)
    private String billRule;
    /**
     * 名称
     */
    @TableField("bill_rule_name")
    private String billRuleName;
    /**
     * 内容
     */
    @TableField("content")
    private String content;
    /**
     * 说明
     */
    @TableField("note")
    private String note;

    @TableField("idx")
    private Integer idx;

    public void freeData() {
        this.billRule = null;
        this.billRuleName = null;
        this.content = null;
        this.note = null;
        this.idx = null;
    }

}
